package com.vol.controller.qixiu;

import com.vol.entity.TData;
import com.vol.entity.QxWxdNr;
import com.vol.miyao.WxdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("api/qx_wxd_nr")
public class WxdController {

    @Autowired
    private WxdService wxdService;

    @GetMapping("GetListJson")
    public TData<List<QxWxdNr>> GetListJson(){
        TData<List<QxWxdNr>> obj = wxdService.GetList(10);
        return obj;
    }
}
